package com.xbongbong.pro.domain.dao;

import com.xbongbong.paas.domain.entity.ext.CkPaasFormDataEntityExt;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 描述信息
 *
 * @ClassName StarPaasFormDataDao
 * @Author 梁鲁江
 * 创建时间 2021/10/15 16:15
 * 修改时间  2021/10/15 16:15
 **/
@Repository
@Mapper
public interface StarPaasFormDataDao {
    @MapKey("id")
    List<Map<String, Object>> findListMapBySql(@Param("generateSql") String sql);

    List<CkPaasFormDataEntityExt> findEntitysBySql(@Param("generateSql") String sql);

    Integer countBySql(@Param("generateSql") String sql);
}
